/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.*;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint._Presentation*/
public class _Presentation extends JavaScriptObject {

	protected _Presentation() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final _Master getSlideMaster()/*-{
		return this.SlideMaster;
	}-*/;

	public native final _Master getTitleMaster()/*-{
		return this.TitleMaster;
	}-*/;

	protected native final int _getHasTitleMaster()/*-{
		return this.HasTitleMaster;
	}-*/;

	public final MsoTriState getHasTitleMaster(){
		return MsoTriState.valueOf(_getHasTitleMaster());
	}
	public native final _Master addTitleMaster()/*-{
		return this.AddTitleMaster( );
	}-*/;

	public native final void applyTemplate(String fileName)/*-{
		this.ApplyTemplate( fileName);
	}-*/;

	public native final String getTemplateName()/*-{
		return this.TemplateName;
	}-*/;

	public native final _Master getNotesMaster()/*-{
		return this.NotesMaster;
	}-*/;

	public native final _Master getHandoutMaster()/*-{
		return this.HandoutMaster;
	}-*/;

	public native final Slides getSlides()/*-{
		return this.Slides;
	}-*/;

	public native final PageSetup getPageSetup()/*-{
		return this.PageSetup;
	}-*/;

	public native final ColorSchemes getColorSchemes()/*-{
		return this.ColorSchemes;
	}-*/;

	public native final ExtraColors getExtraColors()/*-{
		return this.ExtraColors;
	}-*/;

	public native final SlideShowSettings getSlideShowSettings()/*-{
		return this.SlideShowSettings;
	}-*/;

	public native final Fonts getFonts()/*-{
		return this.Fonts;
	}-*/;

	public native final DocumentWindows getWindows()/*-{
		return this.Windows;
	}-*/;

	public native final Tags getTags()/*-{
		return this.Tags;
	}-*/;

	public native final Shape getDefaultShape()/*-{
		return this.DefaultShape;
	}-*/;

	public native final Object getBuiltInDocumentProperties()/*-{
		return this.BuiltInDocumentProperties;
	}-*/;

	public native final Object getCustomDocumentProperties()/*-{
		return this.CustomDocumentProperties;
	}-*/;

	public native final VBProject getVBProject()/*-{
		return this.VBProject;
	}-*/;

	protected native final int _getReadOnly()/*-{
		return this.ReadOnly;
	}-*/;

	public final MsoTriState getReadOnly(){
		return MsoTriState.valueOf(_getReadOnly());
	}
	public native final String getFullName()/*-{
		return this.FullName;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final String getPath()/*-{
		return this.Path;
	}-*/;

	protected native final int _getSaved()/*-{
		return this.Saved;
	}-*/;

	public final MsoTriState getSaved(){
		return MsoTriState.valueOf(_getSaved());
	}
	protected native final void _setSaved( int value)/*-{
		this.Saved = value;
	}-*/;

	public final void setSaved(MsoTriState value){
		_setSaved(value.getValue());
	}
	public native final int getLayoutDirection()/*-{
		return this.LayoutDirection;
	}-*/;

	public native final void setLayoutDirection(int value)/*-{
		this.LayoutDirection = value;
	}-*/;

	public native final DocumentWindow newWindow()/*-{
		return this.NewWindow( );
	}-*/;

	protected native final void _followHyperlink(String address, String subAddress, boolean newWindow, boolean addHistory, String extraInfo,  int method, String headerInfo)/*-{
		this.FollowHyperlink( address, subAddress, newWindow, addHistory, extraInfo, method, headerInfo);
	}-*/;

	public final void followHyperlink(String address, String subAddress, boolean newWindow, boolean addHistory, String extraInfo, MsoExtraInfoMethod method, String headerInfo){
		_followHyperlink(address, subAddress, newWindow, addHistory, extraInfo, method.getValue(), headerInfo);
	}
	public native final void addToFavorites()/*-{
		this.AddToFavorites( );
	}-*/;

	public native final void unused()/*-{
		this.Unused( );
	}-*/;

	public native final PrintOptions getPrintOptions()/*-{
		return this.PrintOptions;
	}-*/;

	protected native final void _printOut(int from, int to, String printToFile, int copies,  int collate)/*-{
		this.PrintOut( from, to, printToFile, copies, collate);
	}-*/;

	public final void printOut(int from, int to, String printToFile, int copies, MsoTriState collate){
		_printOut(from, to, printToFile, copies, collate.getValue());
	}
	public native final void save()/*-{
		this.Save( );
	}-*/;

	protected native final void _saveAs(String fileName, int fileFormat,  int embedTrueTypeFonts)/*-{
		this.SaveAs( fileName, fileFormat, embedTrueTypeFonts);
	}-*/;

	public final void saveAs(String fileName, int fileFormat, MsoTriState embedTrueTypeFonts){
		_saveAs(fileName, fileFormat, embedTrueTypeFonts.getValue());
	}
	protected native final void _saveCopyAs(String fileName, int fileFormat,  int embedTrueTypeFonts)/*-{
		this.SaveCopyAs( fileName, fileFormat, embedTrueTypeFonts);
	}-*/;

	public final void saveCopyAs(String fileName, int fileFormat, MsoTriState embedTrueTypeFonts){
		_saveCopyAs(fileName, fileFormat, embedTrueTypeFonts.getValue());
	}
	public native final void export(String path, String filterName, int scaleWidth, int scaleHeight)/*-{
		this.Export( path, filterName, scaleWidth, scaleHeight);
	}-*/;

	public native final void close()/*-{
		this.Close( );
	}-*/;

	public native final void setUndoText(String text)/*-{
		this.SetUndoText( text);
	}-*/;

	public native final Object getContainer()/*-{
		return this.Container;
	}-*/;

	protected native final int _getDisplayComments()/*-{
		return this.DisplayComments;
	}-*/;

	public final MsoTriState getDisplayComments(){
		return MsoTriState.valueOf(_getDisplayComments());
	}
	protected native final void _setDisplayComments( int value)/*-{
		this.DisplayComments = value;
	}-*/;

	public final void setDisplayComments(MsoTriState value){
		_setDisplayComments(value.getValue());
	}
	public native final int getFarEastLineBreakLevel()/*-{
		return this.FarEastLineBreakLevel;
	}-*/;

	public native final void setFarEastLineBreakLevel(int value)/*-{
		this.FarEastLineBreakLevel = value;
	}-*/;

	public native final String getNoLineBreakBefore()/*-{
		return this.NoLineBreakBefore;
	}-*/;

	public native final void setNoLineBreakBefore(String value)/*-{
		this.NoLineBreakBefore = value;
	}-*/;

	public native final String getNoLineBreakAfter()/*-{
		return this.NoLineBreakAfter;
	}-*/;

	public native final void setNoLineBreakAfter(String value)/*-{
		this.NoLineBreakAfter = value;
	}-*/;

	public native final void updateLinks()/*-{
		this.UpdateLinks( );
	}-*/;

	public native final SlideShowWindow getSlideShowWindow()/*-{
		return this.SlideShowWindow;
	}-*/;

	protected native final int _getFarEastLineBreakLanguage()/*-{
		return this.FarEastLineBreakLanguage;
	}-*/;

	public final MsoFarEastLineBreakLanguageID getFarEastLineBreakLanguage(){
		return MsoFarEastLineBreakLanguageID.valueOf(_getFarEastLineBreakLanguage());
	}
	protected native final void _setFarEastLineBreakLanguage( int value)/*-{
		this.FarEastLineBreakLanguage = value;
	}-*/;

	public final void setFarEastLineBreakLanguage(MsoFarEastLineBreakLanguageID value){
		_setFarEastLineBreakLanguage(value.getValue());
	}
	public native final void webPagePreview()/*-{
		this.WebPagePreview( );
	}-*/;

	protected native final int _getDefaultLanguageID()/*-{
		return this.DefaultLanguageID;
	}-*/;

	public final MsoLanguageID getDefaultLanguageID(){
		return MsoLanguageID.valueOf(_getDefaultLanguageID());
	}
	protected native final void _setDefaultLanguageID( int value)/*-{
		this.DefaultLanguageID = value;
	}-*/;

	public final void setDefaultLanguageID(MsoLanguageID value){
		_setDefaultLanguageID(value.getValue());
	}
	public native final CommandBars getCommandBars()/*-{
		return this.CommandBars;
	}-*/;

	public native final PublishObjects getPublishObjects()/*-{
		return this.PublishObjects;
	}-*/;

	public native final WebOptions getWebOptions()/*-{
		return this.WebOptions;
	}-*/;

	public native final HTMLProject getHTMLProject()/*-{
		return this.HTMLProject;
	}-*/;

	protected native final void _reloadAs( int cp)/*-{
		this.ReloadAs( cp);
	}-*/;

	public final void reloadAs(MsoEncoding cp){
		_reloadAs(cp.getValue());
	}
	protected native final void _makeIntoTemplate( int isDesignTemplate)/*-{
		this.MakeIntoTemplate( isDesignTemplate);
	}-*/;

	public final void makeIntoTemplate(MsoTriState isDesignTemplate){
		_makeIntoTemplate(isDesignTemplate.getValue());
	}
	protected native final int _getEnvelopeVisible()/*-{
		return this.EnvelopeVisible;
	}-*/;

	public final MsoTriState getEnvelopeVisible(){
		return MsoTriState.valueOf(_getEnvelopeVisible());
	}
	protected native final void _setEnvelopeVisible( int value)/*-{
		this.EnvelopeVisible = value;
	}-*/;

	public final void setEnvelopeVisible(MsoTriState value){
		_setEnvelopeVisible(value.getValue());
	}
	public native final void sblt(String s)/*-{
		this.sblt( s);
	}-*/;

	protected native final int _getVBASigned()/*-{
		return this.VBASigned;
	}-*/;

	public final MsoTriState getVBASigned(){
		return MsoTriState.valueOf(_getVBASigned());
	}
	protected native final int _getSnapToGrid()/*-{
		return this.SnapToGrid;
	}-*/;

	public final MsoTriState getSnapToGrid(){
		return MsoTriState.valueOf(_getSnapToGrid());
	}
	protected native final void _setSnapToGrid( int value)/*-{
		this.SnapToGrid = value;
	}-*/;

	public final void setSnapToGrid(MsoTriState value){
		_setSnapToGrid(value.getValue());
	}
	public native final float getGridDistance()/*-{
		return this.GridDistance;
	}-*/;

	public native final void setGridDistance(float value)/*-{
		this.GridDistance = value;
	}-*/;

	public native final Designs getDesigns()/*-{
		return this.Designs;
	}-*/;

	public native final void merge(String path)/*-{
		this.Merge( path);
	}-*/;

	public native final void checkIn(boolean saveChanges,  Object comments,  Object makePublic)/*-{
		this.CheckIn( saveChanges, comments, makePublic);
	}-*/;

	public native final boolean canCheckIn()/*-{
		return this.CanCheckIn( );
	}-*/;

	public native final SignatureSet getSignatures()/*-{
		return this.Signatures;
	}-*/;

	protected native final int _getRemovePersonalInformation()/*-{
		return this.RemovePersonalInformation;
	}-*/;

	public final MsoTriState getRemovePersonalInformation(){
		return MsoTriState.valueOf(_getRemovePersonalInformation());
	}
	protected native final void _setRemovePersonalInformation( int value)/*-{
		this.RemovePersonalInformation = value;
	}-*/;

	public final void setRemovePersonalInformation(MsoTriState value){
		_setRemovePersonalInformation(value.getValue());
	}
	public native final void sendForReview(String recipients, String subject, boolean showMessage,  Object includeAttachment)/*-{
		this.SendForReview( recipients, subject, showMessage, includeAttachment);
	}-*/;

	public native final void replyWithChanges(boolean showMessage)/*-{
		this.ReplyWithChanges( showMessage);
	}-*/;

	public native final void endReview()/*-{
		this.EndReview( );
	}-*/;

	public native final int getHasRevisionInfo()/*-{
		return this.HasRevisionInfo;
	}-*/;

	public native final void addBaseline(String fileName)/*-{
		this.AddBaseline( fileName);
	}-*/;

	public native final void removeBaseline()/*-{
		this.RemoveBaseline( );
	}-*/;

	public native final String getPasswordEncryptionProvider()/*-{
		return this.PasswordEncryptionProvider;
	}-*/;

	public native final String getPasswordEncryptionAlgorithm()/*-{
		return this.PasswordEncryptionAlgorithm;
	}-*/;

	public native final int getPasswordEncryptionKeyLength()/*-{
		return this.PasswordEncryptionKeyLength;
	}-*/;

	public native final boolean getPasswordEncryptionFileProperties()/*-{
		return this.PasswordEncryptionFileProperties;
	}-*/;

	public native final void setPasswordEncryptionOptions(String passwordEncryptionProvider, String passwordEncryptionAlgorithm, int passwordEncryptionKeyLength, boolean passwordEncryptionFileProperties)/*-{
		this.SetPasswordEncryptionOptions( passwordEncryptionProvider, passwordEncryptionAlgorithm, passwordEncryptionKeyLength, passwordEncryptionFileProperties);
	}-*/;

	public native final String getPassword()/*-{
		return this.Password;
	}-*/;

	public native final void setPassword(String value)/*-{
		this.Password = value;
	}-*/;

	public native final String getWritePassword()/*-{
		return this.WritePassword;
	}-*/;

	public native final void setWritePassword(String value)/*-{
		this.WritePassword = value;
	}-*/;

	public native final Permission getPermission()/*-{
		return this.Permission;
	}-*/;

	public native final SharedWorkspace getSharedWorkspace()/*-{
		return this.SharedWorkspace;
	}-*/;

	public native final Sync getSync()/*-{
		return this.Sync;
	}-*/;

	public native final void sendFaxOverInternet(String recipients, String subject, boolean showMessage)/*-{
		this.SendFaxOverInternet( recipients, subject, showMessage);
	}-*/;

	public native final DocumentLibraryVersions getDocumentLibraryVersions()/*-{
		return this.DocumentLibraryVersions;
	}-*/;

	public native final MetaProperties getContentTypeProperties()/*-{
		return this.ContentTypeProperties;
	}-*/;

	public native final int getSectionCount()/*-{
		return this.SectionCount;
	}-*/;

	public native final boolean getHasSections()/*-{
		return this.HasSections;
	}-*/;

	public native final void newSectionAfter(int index, boolean afterSlide, String sectionTitle, int newSectionIndex)/*-{
		this.NewSectionAfter( index, afterSlide, sectionTitle, newSectionIndex);
	}-*/;

	public native final void deleteSection(int index)/*-{
		this.DeleteSection( index);
	}-*/;

	public native final void disableSections()/*-{
		this.DisableSections( );
	}-*/;

	public native final String sectionTitle(int index)/*-{
		return this.sectionTitle( index);
	}-*/;

	public native final void removeDocumentInformation(int type)/*-{
		this.RemoveDocumentInformation( type);
	}-*/;

	public native final void checkInWithVersion(boolean saveChanges,  Object comments,  Object makePublic,  Object versionType)/*-{
		this.CheckInWithVersion( saveChanges, comments, makePublic, versionType);
	}-*/;

	protected native final void _exportAsFixedFormat(String path, int fixedFormatType, int intent,  int frameSlides, int handoutOrder, int outputType,  int printHiddenSlides, PrintRange printRange, int rangeType, String slideShowName, boolean includeDocProperties, boolean keepIRMSettings, boolean docStructureTags, boolean bitmapMissingFonts, boolean useISO19005_1,  Object externalExporter)/*-{
		this.ExportAsFixedFormat( path, fixedFormatType, intent, frameSlides, handoutOrder, outputType, printHiddenSlides, printRange, rangeType, slideShowName, includeDocProperties, keepIRMSettings, docStructureTags, bitmapMissingFonts, useISO19005_1, externalExporter);
	}-*/;

	public final void exportAsFixedFormat(String path, int fixedFormatType, int intent, MsoTriState frameSlides, int handoutOrder, int outputType, MsoTriState printHiddenSlides, PrintRange printRange, int rangeType, String slideShowName, boolean includeDocProperties, boolean keepIRMSettings, boolean docStructureTags, boolean bitmapMissingFonts, boolean useISO19005_1,  Object externalExporter){
		_exportAsFixedFormat(path, fixedFormatType, intent, frameSlides.getValue(), handoutOrder, outputType, printHiddenSlides.getValue(), printRange, rangeType, slideShowName, includeDocProperties, keepIRMSettings, docStructureTags, bitmapMissingFonts, useISO19005_1, externalExporter);
	}
	public native final ServerPolicy getServerPolicy()/*-{
		return this.ServerPolicy;
	}-*/;

	public native final WorkflowTasks getWorkflowTasks()/*-{
		return this.GetWorkflowTasks( );
	}-*/;

	public native final WorkflowTemplates getWorkflowTemplates()/*-{
		return this.GetWorkflowTemplates( );
	}-*/;

	public native final void lockServerFile()/*-{
		this.LockServerFile( );
	}-*/;

	public native final DocumentInspectors getDocumentInspectors()/*-{
		return this.DocumentInspectors;
	}-*/;

	public native final boolean getHasVBProject()/*-{
		return this.HasVBProject;
	}-*/;

	public native final CustomXMLParts getCustomXMLParts()/*-{
		return this.CustomXMLParts;
	}-*/;

	public native final boolean getFinal()/*-{
		return this.Final;
	}-*/;

	public native final void setFinal(boolean value)/*-{
		this.Final = value;
	}-*/;

	public native final void applyTheme(String themeName)/*-{
		this.ApplyTheme( themeName);
	}-*/;

	public native final CustomerData getCustomerData()/*-{
		return this.CustomerData;
	}-*/;

	public native final Research getResearch()/*-{
		return this.Research;
	}-*/;

	public native final void publishSlides(String slideLibraryUrl, boolean overwrite, boolean useSlideOrder)/*-{
		this.PublishSlides( slideLibraryUrl, overwrite, useSlideOrder);
	}-*/;

	public native final String getEncryptionProvider()/*-{
		return this.EncryptionProvider;
	}-*/;

	public native final void setEncryptionProvider(String value)/*-{
		this.EncryptionProvider = value;
	}-*/;

	public native final void convert()/*-{
		this.Convert( );
	}-*/;

}
